package com.ccys.db.dto.doctor.doctorConsultStage;

import com.ccys.db.dto.doctor.drugReaction.AllergiesMakeDto;
import com.ccys.db.dto.doctor.drugReaction.MedicationReactionsMakeDto;
import lombok.Data;

import java.util.List;

/**
 * @program: WhiteCoat
 * @description: SaveDrugAlergy
 * @author: ZhangJingCan
 * @create: 2024-02-29 13:13
 **/

@Data
public class SaveDrugAlergyDto {

    private String booking_id;//": "96207eb7-68ed-4f38-a202-521c186402bf",
    //示例中没值的  但是查看代码使用到了：allergy.id, allergy.index, allergy.name
    private List<AllergiesMakeDto> allergies;//": [],
    //示例中没值的 但是查看代码使用到了：medication_reaction.id, medication_reaction.index, medication_reaction.name, medication_reaction.otherreaction
    private List<MedicationReactionsMakeDto> medication_reactions;//": null
    //示例中只有这个有值
    private List<Medication> medications;//": [

    @Data
    public class Medication{
        private String name;//": "Klacid (Clarithromycin) 250mg/5ml Susp 60ml",
        private String usage_period;//": "e2fb447a-e0eb-4612-a282-f01918b987ed",
        //对方代码中并没有看到这个id被使用
        private String usage_period_id;//": "e2fb447a-e0eb-4612-a282-f01918b987ed",
        private String id;//": "2980181f-0fdc-4af4-90d7-3490f59e4c54",
        private String amount_of_dosage;//": "1"
    }


}
